home *** CD-ROM | disk | FTP | other *** search
/ Freelog 121 / FreelogMagazineJuilletAout2014-No121.iso / Outils / Adobe-Air / adobe-air_13.exe / [0] / setup.swf / scripts / _winRestoreButtonStyle.as < prev    next >
Text File  |  2014-03-27  |  2KB  |  43 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _winRestoreButtonStyle
  8.    {
  9.       
  10.       private static var _embed_css_win_restore_down_png_1144425275:Class = _winRestoreButtonStyle__embed_css_win_restore_down_png_1144425275;
  11.       
  12.       private static var _embed_css_win_restore_over_png_180866047:Class = _winRestoreButtonStyle__embed_css_win_restore_over_png_180866047;
  13.       
  14.       private static var _embed_css_win_restore_up_png_802656283:Class = _winRestoreButtonStyle__embed_css_win_restore_up_png_802656283;
  15.        
  16.       
  17.       public function _winRestoreButtonStyle()
  18.       {
  19.          super();
  20.       }
  21.       
  22.       public static function init(param1:IFlexModuleFactory) : void
  23.       {
  24.          var fbs:IFlexModuleFactory = param1;
  25.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration(".winRestoreButton");
  26.          if(!style)
  27.          {
  28.             style = new CSSStyleDeclaration();
  29.             StyleManager.setStyleDeclaration(".winRestoreButton",style,false);
  30.          }
  31.          if(style.defaultFactory == null)
  32.          {
  33.             style.defaultFactory = function():void
  34.             {
  35.                this.upSkin = _embed_css_win_restore_up_png_802656283;
  36.                this.downSkin = _embed_css_win_restore_down_png_1144425275;
  37.                this.overSkin = _embed_css_win_restore_over_png_180866047;
  38.             };
  39.          }
  40.       }
  41.    }
  42. }
  43.